package com.itheima.dao;

import com.itheima.entity.Order;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface OrderMapper {

    @Select("select * from t_order where user_id = #{userId}")
    List<Order> selectOrderByUserId(Integer userId);
}
